<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
      xmlns:h="http://xmlns.jcp.org/jsf/html">

    <ui:composition template="/template.xhtml">
        <ui:define name="title">
            <h:outputText value="#{messages.Testpaper}#{messages.Second}#{messages.Step}"/>
        </ui:define>
        <ui:define name="body">
            <h:form styleClass="jsfcrud_list_form">
                <h:outputLabel value="#{messages.Second}#{messages.Step}:#{messages.Select}#{messages.Type}" class="subtitle"/>
                <br/>
                <h:panelGrid>
                    <h:graphicImage name="testpaper/testPractice.jpg" library="images" height="200px" width="200px"/>
                    <h:commandLink value="#{messages.Create}#{messages.Testpaper}" action="#{testpaperController.creatTestpapers4TeachSchool(true)}" class="mya"/>
                </h:panelGrid>
                <h:panelGrid>
                    <h:graphicImage name="testpaper/practice.jpg" library="images" height="200px" width="200px"/>
                    <h:commandLink value="#{messages.Create}#{messages.Practice}" action="#{testpaperController.creatTestpapers4TeachSchool(false)}" class="mya"/>
                </h:panelGrid>
            </h:form>
        </ui:define>
    </ui:composition>
</html>
